package com.ruoyi.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 订单管理对象 t_order
 * 
 * @author HuLongHui
 * @date 2023-02-11
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private Long orderId;

    /** 赛事id */
    @Excel(name = "赛事id")
    private Long matchId;



    /** 场馆id */
    private Long venueId;
    /** 场馆名称 */
    @Excel(name = "场馆名称")
    private String venueName;
    /** 场地id */
    @Excel(name = "场地id")
    private Long fieldId;
    /** 场地名称 */
    @Excel(name = "场地名称")
    private String fieldName;

    /** 赛事名称 */
    @Excel(name = "赛事名称")
    private String matchName;

    /** 赛事介绍 */
    @Excel(name = "赛事介绍")
    private String matchIntroduce;

    /** 赛事logo */
    @Excel(name = "赛事logo")
    private String matchLogo;

    /** 比赛日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "比赛日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date matchDate;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String matchStartTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String matchEndTime;

    public Long getVenueId() {
        return venueId;
    }

    public void setVenueId(Long venueId) {
        this.venueId = venueId;
    }

    public String getVenueName() {
        return venueName;
    }

    public void setVenueName(String venueName) {
        this.venueName = venueName;
    }

    public Long getFieldId() {
        return fieldId;
    }

    public void setFieldId(Long fieldId) {
        this.fieldId = fieldId;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getMatchName() {
        return matchName;
    }

    public void setMatchName(String matchName) {
        this.matchName = matchName;
    }

    public String getMatchIntroduce() {
        return matchIntroduce;
    }

    public void setMatchIntroduce(String matchIntroduce) {
        this.matchIntroduce = matchIntroduce;
    }

    public String getMatchLogo() {
        return matchLogo;
    }

    public void setMatchLogo(String matchLogo) {
        this.matchLogo = matchLogo;
    }

    public Date getMatchDate() {
        return matchDate;
    }

    public void setMatchDate(Date matchDate) {
        this.matchDate = matchDate;
    }

    public String getMatchStartTime() {
        return matchStartTime;
    }

    public void setMatchStartTime(String matchStartTime) {
        this.matchStartTime = matchStartTime;
    }

    public String getMatchEndTime() {
        return matchEndTime;
    }

    public void setMatchEndTime(String matchEndTime) {
        this.matchEndTime = matchEndTime;
    }

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setMatchId(Long matchId) 
    {
        this.matchId = matchId;
    }

    public Long getMatchId() 
    {
        return matchId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("matchId", getMatchId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
